package com.ibeeking.found.msg.rest.service;

import com.ibeeking.found.msg.service.common.bo.KeyWordBO;
import com.ibeeking.found.msg.service.common.bo.MpAutoMessageBO;
import com.ibeeking.found.msg.service.common.dos.MpAutoMessageDO;
import com.ibeeking.found.msg.service.common.param.MpAutoMessageParam;
import com.ibeeking.found.msg.service.common.query.KeyWordQuery;
import com.ibeeking.found.msg.service.common.query.MpMessagePageQuery;
import com.ibeeking.found.msg.service.common.vo.MpAutoMessagePageVO;
import com.ibeeking.found.msg.service.common.vo.MpAutoMessageVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * @ClassName IMpAutoMessageService
 * @Description
 * @Author ibeeking
 * @Date 2021-02-07 11:30
 **/
public interface IMpAutoMessageService {

    Page<MpAutoMessagePageVO> pageList(MpMessagePageQuery query);

    Boolean add(MpAutoMessageParam param);

    Boolean modify(MpAutoMessageParam param);

    MpAutoMessageVO view(Long id);

    Boolean changeStatus(Long id, Integer status);

    Boolean del(Long id);

    Boolean syncAutoReplayMessageFromWx(Integer type);

    KeyWordBO queryKeyWord(KeyWordQuery query);

    List<MpAutoMessageBO> queryByCondition(MpAutoMessageDO mpAutoMessageDO);
}
